\hypertarget{classinput_parser_1_1_l_r_input_parser}{\section{input\-Parser.\-L\-R\-Input\-Parser Class Reference}
\label{classinput_parser_1_1_l_r_input_parser}\index{input\-Parser.\-L\-R\-Input\-Parser@{input\-Parser.\-L\-R\-Input\-Parser}}
}


Parse a txt file with action table, goto table and grammar in one line format ($\ast$.1l).  




Inheritance diagram for input\-Parser.\-L\-R\-Input\-Parser\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{classinput_parser_1_1_l_r_input_parser__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for input\-Parser.\-L\-R\-Input\-Parser\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=299pt]{classinput_parser_1_1_l_r_input_parser__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classinput_parser_1_1_l_r_input_parser_a42f9947db4e863a82e3a8ca89c655c2a}{{\bfseries L\-R\-Input\-Parser} (String in)}\label{classinput_parser_1_1_l_r_input_parser_a42f9947db4e863a82e3a8ca89c655c2a}

\item 
\hyperlink{classparser_program_1_1_parser_program}{Parser\-Program} \hyperlink{classinput_parser_1_1_l_r_input_parser_ad81d1510d9b12b4b8b2dedbe117e88c1}{parse} ()  throws Exception 
\end{DoxyCompactItemize}
\subsection*{Static Package Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classinput_parser_1_1_l_r_input_parser_ae3d6e07ebb7d4368f1a2e2ad05dae6f7}{static Logger {\bfseries logger} = Logger.\-get\-Logger(L\-R\-Input\-Parser.\-class.\-get\-Name())}\label{classinput_parser_1_1_l_r_input_parser_ae3d6e07ebb7d4368f1a2e2ad05dae6f7}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classinput_parser_1_1_l_r_input_parser_a1ade16089652dc354434e1ddb1769e96}{read\-Table} (Buffered\-Reader f, Hashtable$<$ String, List$<$ String $>$$>$ table)  throws I\-O\-Exception 
\begin{DoxyCompactList}\small\item\em read the table in the first part of the file and store it in an hashtable with simbol as key and a list with an element for each state \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classinput_parser_1_1_l_r_input_parser_a7f407afa631516efdbaf3cee992bb16f}{String {\bfseries input}}\label{classinput_parser_1_1_l_r_input_parser_a7f407afa631516efdbaf3cee992bb16f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Parse a txt file with action table, goto table and grammar in one line format ($\ast$.1l). 

\begin{DoxyAuthor}{Author}
Paolo Pino 
\end{DoxyAuthor}


Definition at line 21 of file L\-R\-Input\-Parser.\-java.



\subsection{Member Function Documentation}
\hypertarget{classinput_parser_1_1_l_r_input_parser_ad81d1510d9b12b4b8b2dedbe117e88c1}{\index{input\-Parser\-::\-L\-R\-Input\-Parser@{input\-Parser\-::\-L\-R\-Input\-Parser}!parse@{parse}}
\index{parse@{parse}!inputParser::LRInputParser@{input\-Parser\-::\-L\-R\-Input\-Parser}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Parser\-Program} {\bf input\-Parser.\-L\-R\-Input\-Parser.\-parse} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)  throws Exception \hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classinput_parser_1_1_l_r_input_parser_ad81d1510d9b12b4b8b2dedbe117e88c1}
\begin{DoxyReturn}{Returns}
Parser\-Program initialized instance. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Exception} & \\
\hline
\end{DoxyExceptions}
\begin{DoxyAuthor}{Author}
Paolo Pino 
\end{DoxyAuthor}


Implements \hyperlink{classinput_parser_1_1_abstract_input_parser_a548b0f6fa44b7954b79bdd964336bafe}{input\-Parser.\-Abstract\-Input\-Parser}.



Definition at line 39 of file L\-R\-Input\-Parser.\-java.



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classinput_parser_1_1_l_r_input_parser_ad81d1510d9b12b4b8b2dedbe117e88c1_cgraph}
\end{center}
\end{figure}


\hypertarget{classinput_parser_1_1_l_r_input_parser_a1ade16089652dc354434e1ddb1769e96}{\index{input\-Parser\-::\-L\-R\-Input\-Parser@{input\-Parser\-::\-L\-R\-Input\-Parser}!read\-Table@{read\-Table}}
\index{read\-Table@{read\-Table}!inputParser::LRInputParser@{input\-Parser\-::\-L\-R\-Input\-Parser}}
\subsubsection[{read\-Table}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf input\-Parser.\-L\-R\-Input\-Parser.\-read\-Table} (
\begin{DoxyParamCaption}
\item[{Buffered\-Reader}]{f, }
\item[{Hashtable$<$ String, List$<$ String $>$$>$}]{table}
\end{DoxyParamCaption}
)  throws I\-O\-Exception \hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classinput_parser_1_1_l_r_input_parser_a1ade16089652dc354434e1ddb1769e96}


read the table in the first part of the file and store it in an hashtable with simbol as key and a list with an element for each state 


\begin{DoxyParams}{Parameters}
{\em f} & the input file buffer \\
\hline
{\em table} & the hashtable where the data is stored \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em I\-O\-Exception} & \\
\hline
\end{DoxyExceptions}
\begin{DoxyAuthor}{Author}
Paolo Pino 
\end{DoxyAuthor}


Definition at line 77 of file L\-R\-Input\-Parser.\-java.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classinput_parser_1_1_l_r_input_parser_a1ade16089652dc354434e1ddb1769e96_icgraph}
\end{center}
\end{figure}




The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/input\-Parser/L\-R\-Input\-Parser.\-java\end{DoxyCompactItemize}
